package com.xz.stu.server.service;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import com.xz.stu.server.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xz.stu.server.vo.department.*;

import java.util.List;

/**
* @author 熊磊
* @description 针对表【school_department】的数据库操作Service
* @createDate 2025-03-01 15:18:50
*/
public interface DepartmentService extends IService<Department> {

    Long createDepartment(DepartmentCreateReqVO createReqVO);

    void updateDepartment(DepartmentUpdateReqVO updateReqVO);

    void deleteDepartment(List<Long> id);

    DepartmentRespVO getDepartment(Long id);

    PageResult<DepartmentRespVO> getDepartmentPage(DepartmentPageReqVO pageVO);

    List<DepartmentSimpleRespVO> getSimpleDepartments();
}
